#!/usr/bin/python3

# -- coding:utf-8 --


# 1 绘制简单的折线图
# names[3] = 'zhangsan'
title = "\n1 绘制简单的折线图"
print(title)
import matplotlib.pyplot as plt
squares = [1,4,9,16,25]
plt.plot(squares, linewidth=5)

# 设置图标标题
plt.title("Square Number", fontsize=24)

# 设置坐标轴
plt.xlabel("Value", fontsize=24)
plt.ylabel("Square of Value", fontsize=14)

# 设置刻度大小
plt.tick_params(axis="both", labelsize=14)
plt.show()
